<template>
  <el-form ref="form" label-position="right" :model="baseinfo" label-width="100px">
    <el-row :gutter="20">
      <el-col :span="20">
        <el-form-item label="设备编码：">
          {{ baseinfo.code }}
        </el-form-item>
        <el-form-item label="厂商型号：">
          {{ baseinfo.model }}
        </el-form-item>
        <el-form-item label="设备名称：">
          {{ baseinfo.name }}
        </el-form-item>
        <el-form-item label="设备规格：">
          {{ baseinfo.spec }}
        </el-form-item>
        <el-form-item label="BOM编码：">
          {{ baseinfo.bomCode }}
        </el-form-item>
        <el-form-item label="品牌名称：">
          {{ baseinfo.brandName }}
        </el-form-item>

        <el-form-item label="品牌编码：">
          {{ baseinfo.brandCode }}
        </el-form-item>

        <el-form-item label="状态：">
          <template>
            <dict-tag :options="dict.type.sys_normal_disable" :value="baseinfo.status"/>
          </template>
        </el-form-item>
        <el-form-item label="描述：">
          {{ baseinfo.remark }}
        </el-form-item>
        <el-form-item label="创建人：">{{ baseinfo.createBy }}</el-form-item>
        <el-form-item label="创建时间：">{{ baseinfo.createTime }}</el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>

export default {
  dicts: ['sys_normal_disable'],
  props: {
    baseinfo: {
      type: Object
    }
  }
};
</script>
